
<div id="content_register" class="container ">
    <div class="row">
        用户注册|{$hint}
        <img  data-toggle="tooltip"
              title="本站采用非对称加密算法传输密码，请放心使用" src="/static/image/content.png"
              width="30"
              alt="content">
    </div>
    <div class="row ">
        <div class="col-xs-1 col-sm-2 "></div>
        <div class="col-xs-9 col-sm-8">
            <form action="/user/registerThis" method="post" onsubmit="return checkRegister(this)" role="form">
                <div class="row form-group" data-toggle="tooltip" title="每个人的名字是唯一的（3-20位）">
                    <input id="register_nickname" class="form-control" type="text" name="nickname" placeholder="昵称">
                </div>
                <div class="row form-group" data-toggle="tooltip"
                        title="请注意邮箱格式">
                    <input id="register_email" class="form-control" type="email" name="email" placeholder="邮箱" >
                </div>
                <div class="row form-group" data-toggle="tooltip"
                        title="密码强度正则，最少5位，最长30位，包括至少1个大写字母，1个小写字母，1个数字，1个特殊字符">
                    <input id="register_pasw1" autocomplete="true" class="form-control" type="password" name="password1" placeholder="密码" >
                </div>
                <div class="row form-group" data-toggle="tooltip"
                        title="两次密码输入应该相同">
                    <input id="register_pasw2" autocomplete="true" class="form-control" type="password" name="password2" placeholder="密码" >
                </div>
                <div class="row form-group">
                    <div class="col-xs-6 col-sm-6" data-toggle="tooltip"
                            title="请输入验证码">
                        <input id="register_code" class="form-control" type="text" name="code" placeholder="验证码">
                    </div>
                    <div class="col-xs-6 col-sm-6 ">
                        {include file="public/common/code" /}
                    </div>
                </div>
                <div class="row">
                    <input id="readeMe" type="checkbox" />
                    <span style="font-size: 15px; ">我已阅读并同意相关服务条款和隐私政策</span>
                </div>
                <div class="row form-group">
                    <button id="submit_register" type="submit" class="btn btn-success btn-lg btn-block">注册</button>
                </div>
                <span style="font-size: 15px; ">已有账号？返回 <a href="/login/0">登录</a></span>
            </form>
        </div>
        <div class="col-xs-1 col-sm-1">
            <div id="nameError" style="display: none" class="row"><img src="/static/image/errorhasname.png" width="30" alt=""></div>
            <div id="nameSuccess" style="display: none" class="row"><img src="/static/image/sucessnoname.png" width="30" alt=""></div>
        </div>
    </div>
</div>
<!--<div id="top_hint" style="position:absolute; width: 500px; top: 100px;right:10px;" api="alert alert-warning ">-->
<!--    <a href="#" api="close" data-dismiss="alert">-->
<!--        &times;-->
<!--    </a>-->
<!--    <strong>密码规则不正确</strong>-->
<!--</div>-->